﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DispatchAssist.Weather.Interfaces
{
    /// <summary>
    /// 天气图数据提供源
    /// </summary>
   public interface IWeatherMapProvider
    {
        /// <summary>
        /// 数据源ID
        /// </summary>
        Guid WeatherProvideID { get; set; }
        /// <summary>
        /// 业务ID
        /// </summary>
        string ProviderID { get; set; }
        /// <summary>
        /// 数据源名称
        /// </summary>
        string Name { get; set; }
        /// <summary>
        /// 数据源所属分类
        /// </summary>
        IList<IWeatherMapType> Types { get; }
        /// <summary>
        /// 数据源所属所有分类
        /// </summary>
        IList<IWeatherMapType> AllTypes { get; }
        ///// <summary>
        ///// 返回数据源所有的分类（含子分类)
        ///// </summary>
        ///// <returns></returns>
        //IEnumerable<IWeatherMapType> GetAllTypes();
    }
}
